package org.example.diet_compass.dto;

import lombok.Data;

import java.util.List;

/**
 * @author Archer_hui
 * @version 1.0
 * @Date 2025/3/8 16:33
 */
@Data
//构建两个DTO类，处理数据的封装
public class TopCategoryItem {
    private String id;
    private String name;
    private List<ChildCategoryItem> children;

}
